<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
String userId =request.getParameter("userId");
 %>
<form action="/HRMS/myApplicationAction_addApplication" align="left" namespace="/" method="post">
<table>
<tr><td>申请人：</td><td><input type="text" name="appPersonId" value=<%=userId %> readOnly="readonly"></td></tr>
<tr><td>指定上级：</td><td><input type="text" name="superiorId" ></td></tr>
<tr><td>申请类型：</td>
<td><select name="app.appType">
  <option name="app.appType" value="请假申请">请假申请</option>
  <option name="app.appType" value="外出申请">外出申请</option>
  <option name="app.appType" value="离职申请">离职申请</option>
  <option name="app.appType" value="加班申请">加班申请</option>
</select></td></tr>
<tr><td>申请理由:</td><td><textarea name="app.appReason" rows="5" ></textarea></td></tr>
</table>
<input type="submit" value="提交">
</form>
</body>
</html>